IAxis.UnitConversion 屬性
啟用或停用單位轉換。改變單位將會影響位置與速度,您需更新 McProfileSettings 中的 MinimumFollowingError
、MaximumFollowingError
與 McPidSettings 中的 MinimumOutput
、MaximumOutput
。
組合: IntervalZero.KINGSTAR.Base.Class (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
語法
bool UnitConversion { get; set; }
Property UnitConversion As Boolean
屬性值
型別:bool
備註
- 預設為計數(脈衝)系統,在計數系統中,位置單位為計數,速度單位為每秒計數。
- 在真實單位系統中,KINGSTAR 子系統使用 Unit 與 SecondEncoder 屬性中所定義的轉換率,將方法轉換為計數單位。
- 欲使用此類別,首先需要更改分子和分母,其次,需更新 PID 增益值和運動插補參數以符合使用者定義的單位,此僅能在軸停用的狀態下執行。
參見